package com.museum.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 预约与观众关联表实体类
 */
@Data
@TableName("reservation_visitor")
public class ReservationVisitor {
    
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 预约ID
     */
    private Long reservationId;
    
    /**
     * 观众ID
     */
    private Long visitorId;
    
    /**
     * 创建时间
     */
    private java.time.LocalDateTime createTime;
} 